package com.oocl.products.service.factory;

import com.oocl.products.service.ProductService;
import com.oocl.products.service.impl.ProductServiceImpl;

public class ProductServiceFactory {

	private static ProductService productService;

	private ProductServiceFactory() {}
	
	public static ProductService getInstance(){
		if(productService==null){
			productService = new ProductServiceImpl();
		}
		return productService;
	}
}
